package com.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bean.Emp;

public interface EmpMapper {
	
	//查询所有的员工
	public List<Emp> listEmp();
	
	//根据 eid 查询员工
	public Emp getbyidEmp(@Param("eid")Integer eid);
	
	//添加员工
	public void saveEmp(@Param("emp")Emp emp);
	
	//根据 eid 删除员工
	public void deleteEmp(@Param("eid")Integer eid);
	
	//修改员工
	public void updateEmp(@Param("emp")Emp emp);
	

}




